//
//  MoneyInfoTableViewCell.m
//  penzer
//
//  Created by caiyc on 2018/11/16.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "MoneyInfoTableViewCell.h"

@interface MoneyInfoTableViewCell()
@property (weak, nonatomic) IBOutlet UIButton *charge_Btn;
@property (weak, nonatomic) IBOutlet UIButton *withDraw_Btn;
@end

@implementation MoneyInfoTableViewCell

- (void)awakeFromNib
{
    [super awakeFromNib];
    self.withDraw_Btn.layer.cornerRadius = 25;
    self.withDraw_Btn.layer.borderColor = RGB(109, 65, 190).CGColor;
    self.withDraw_Btn.layer.borderWidth = 1;
    [self.withDraw_Btn setTitleColor:RGB(109, 65, 190) forState:UIControlStateNormal];
    self.charge_Btn.backgroundColor = RGB(109, 65, 190);
    self.charge_Btn.layer.cornerRadius = 25;
    self.charge_Btn.layer.masksToBounds = 1;
    [self.charge_Btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    // Initialization code
}


- (IBAction)recharge_Action:(UIButton *)sender {
    !self.recharge?:self.recharge();
}

- (IBAction)withDraw_Action:(UIButton *)sender {
    !self.withDraw?:self.withDraw();
}

@end
